<template>
  <div class="box">
    <header class="tou">
      <van-search show-action placeholder="请输入搜索关键词" @search="onSearch">
        <template #left>
          <van-icon name="bars" style="font-size: 20px" />
        </template>
        <template #action>
          <van-icon name="chat-o" style="font-size: 20px" />
        </template>
      </van-search>
    </header>
    <main class="zhong">
      <!-- 轮播图 -->
      <Swipe/>
      <h3>猜你喜欢</h3>
      <ProList/>
    </main>
  </div>
</template>
<script setup>
import ProList from './components/ProList.vue';
import Swipe from './components/Swipe.vue';
</script>